package com.signin.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sign_in_session")
public class SignInSession implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("class_name")
    private String className;

    @TableField("section_number")
    private Integer sectionNumber;

    private String topic;

    @TableField("teacher_name")
    private String teacherName;

    private Date date;

    private String classroom;

    @TableField("start_time")
    private Date startTime;

    @TableField("end_time")
    private Date endTime;

    private Integer status; // 0-未开始，1-进行中，2-已结束

    @TableField("create_time")
    private Date createTime;

}